<?php /* @var $this Controller */ ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="cn">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="zh_cn" />
	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
	<?php Yii::app()->momill->register(); ?>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/static/js/test.js"></script>
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/static/css/style.css" />
</head>

<body>
<div>
	<div class="hdw">
		<div class="navbar navbar-fixed-top">
			<div class="navbar-inner">
				<div class="container">
					<a class="brand" href="<?php echo Yii::app()->baseUrl; ?>" style="text-decoration:none;"><?php echo CHtml::encode(Yii::app()->name); ?></a>
					<div class="nav-collapse">
						<ul class="nav">
							<li class="active"><a href="<?php echo Yii::app()->getUrlManager()->createUrl('site') ?>">主页</a></li>
							<li><a href="<?php echo Yii::app()->getUrlManager()->createUrl('demo') ?>">Demo</a></li>
						</ul>
						
						<ul class="nav pull-right">
							<li><a href="<?php echo Yii::app()->getUrlManager()->createUrl('site/login') ?>">登录</a></li>
							<li><a href="<?php echo Yii::app()->getUrlManager()->createUrl('site/register') ?>">注册</a></li>
						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="bdw container">
		<?php echo $content;?>
	</div>
	<div class="ftw well">
		<div class="container">
		<div>
			<?php $this->widget('zii.widgets.CMenu',array(
				'items'=>array(
					array('label'=>'关于我们', 'url'=>array('/site/page', 'view'=>'about')),
					array('label'=>'联系我们', 'url'=>array('/site/page', 'view'=>'contactus')),
				),
				'htmlOptions'=>array('class'=>"gfriendlinks")
			)); ?>
		</div>
		<div>
			Copyright &copy; <?php echo date('Y'); ?> by Edward<br />
			All Rights Reserved<br />
			<?php echo Yii::powered(); ?>
		</div>
		</div>
	</div>
</div>
</body>
</html>
